home *** CD-ROM | disk | FTP | other *** search
- Date: 05-12-93 (13:49) Number: 63357 of 63357 (Refer# NONE)
- To: CHARLES ACUFF
- From: DAVID TERRY
- Subj: Batch File in 15.0 for Slow Drives
- Read: NO Status: PUBLIC MESSAGE
- Conf: BETA (6) Read Type: GENERAL (+)
-
- -> I have installed PCB 15.0 and it is working fine. I was wondering about the
- -> format I need to use for the Batch file for Slow Drives.
-
- You can do anything you want in there. The only important thing is that %1 is
- the first command line parameter (actually, the ONLY command line parameter)
- and that is the name of the file that is being processed.
-
- I could look something like this:
-
- PKZIP -z %1 < BBSAD
-
- The above line would put the contents of your BBSAD file into the "comment"
- region of the ZIP file.
-
- Of course, you might want to preceed the above line with a test to see if the
- file is a ZIP file first. That could be done like this:
-
- TESTFILE %1 ZIP
- IF ERRORLEVEL == 98 GOTO END
- PKZIP -z %1 < BBSAD
- :END
-
- Also, the filename for the slow drive batch file is totally up to you. It
- doesn't matter what you call it so long as you tell PCBoard (via PCBSetup) what
- you called it.
-
- Hopefully that should give you some ideas on what you can do with it.